package com.bjsxt.sm.admin.pojo;

import java.util.Date;

public class AAdmins {
    private Integer id;

    private String email;

    private String password;

    private String phone;

    private String name;

    private String identity;

    private String address;

    private Byte sex;

    private Byte status;

    private Date createtime;

    private Date updatetime;
    
    private int roleId;
    
     private ARole role;

	@Override
	public String toString()
	{
		return "AAdmins [id=" + id + ", email=" + email + ", password="
				+ password + ", phone=" + phone + ", name=" + name
				+ ", identity=" + identity + ", address=" + address + ", sex="
				+ sex + ", status=" + status + ", createtime=" + createtime
				+ ", updatetime=" + updatetime + ", roleId=" + roleId
				+ ", role=" + role + "]";
	}

	public ARole getRole()
	{
		return role;
	}

	public void setRole(ARole role)
	{
		this.role = role;
	}

	public int getRoleId()
	{
		return roleId;
	}

	public void setRoleId(int roleId)
	{
		this.roleId = roleId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity == null ? null : identity.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}